package com.mes.cloud.api.dto.request.role;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Description 批量禁用启用
 * @author: wxm
 * @date: 2019/8/5 10:25
 * @version: 1.0
 */
@Data
public class BatchEnableRoleRequest implements Serializable {

    private static final long serialVersionUID = -6229447520011154513L;
    @NotEmpty(message = "请提交要禁用/启用的ID")
    private List<String> ids;

    @NotNull(message = "请提交禁用/启用")
    private String enableFlag;
}
